using UnityEngine;

namespace FluffyUnderware.DevTools
{
	public class PathSelectorAttribute : DTPropertyAttribute
	{
		public enum DialogMode
		{
			OpenFile,
			OpenFolder,
			CreateFile
		}

		public readonly DialogMode Mode;

		public string Title;

		public string Directory;

		public string Extension;

		public string DefaultName;

		public PathSelectorAttribute(DialogMode mode = DialogMode.OpenFile)
			: base(string.Empty, string.Empty)
		{
			Mode = mode;
			Directory = Application.dataPath;
		}
	}
}
